<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/27
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../../common/web_top.jsp" %>
<title>附件设置</title>

<div class="bgSortScroll">
    <div class="public-bgContent" ng-init="load()">
        <div id="parameter_set_content"></div>
        <script type="x-handlebars-template" id="parameter_set_content_tpl">
            <div class="public-bghint">
                <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
                <i class="iconfont icon-icon-copy-copy"></i>
                <span class="calNum">筛选<span class="">{{total}}</span>条结果</span>
            </div>
            <ul class="public-ulList set-listH" ng-show="clientShow.caozuo">
                <li>显示拥有该栏目管理权限的数据；</li>
                <li>拥有权限的管理员会显示对应的操作按钮；</li>
            </ul>
            <div style="height: 20px;"></div>
            <div class="table-scroll">
                <table class="table public-table PoInput">

                    <tbody id="htmlbody">
                    <thead>
                    <tr class="tr1" data-type="true" data-has-child="true" data-focus="false">
                        <td>选择</td>

                        <%--<td ><span style="float: left;margin-left: 200px;"> 所属类型</span>
                            <span style="float: right"> 附件描述 </span>
                        </td>--%>
                        <td>所属类型</td>
                        <td>附件描述</td>
                        <td>操作<%--<span style="visibility: hidden"   class="_blue edit_attach">删除</span>--%></td>

                    </tr>
                    </thead>
                    {{#each list}}
                    <tr class="tr1" data-type="true" data-has-child="true" data-focus="false">
                        <td><input type="checkbox" name="ch_id" value="{{id}}"></td>

                        <%--<td><span style="float: left;margin-left: 200px;">  {{type_name}}</span>
                            <span style="float: right"> {{remarks}} </span>
                        </td>--%>
                        <td>{{type_name}}</td>
                        <td>{{remarks}}</td>


                        <td>
                            <%--<span ng-if="HbHr.hr206" class="_blue edit_attach" data-attr="addSection" data-type="{{type}}"
                                   data-conp="{{type_name}}" data-productid="{{product_id}}"  data-remarks="{{remarks}}"
                                   data-id="{{id}}">修改附件</span>
                             <span ng-if="HbHr.hr206" class="_red delect_attach" data-attr="addSection" data-type="{{type}}"
                                   data-conp="{{type_name}}" data-productid="{{product_id}}"  data-remarks="{{remarks}}"
                                   data-id="{{id}}">删除附件</span>--%>
                            <%--<div class="se-re sel-blue">
                                <select class="tabHint selectDelePo746 ng-not-empty" ng-change="F.selectQuery('selectDelePo746')" ng-model="selectType.default" ng-click="F.stopPropagation($event)">
                                    <option value="-1" selected="selected">修改附件</option>
                                    <!-- ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><option ng-repeat="item in operation.operationList" path="loanBefore" ng-if="item.isShow &amp;&amp; item.isShow(i.sName,HbHr,_routeId,i.role_id)" param="repayment_way:2,id:746,orderHead:orderList,nowPage:orderList" params="orderShow" data-type="1" data-item="{&quot;dptId&quot;:109,&quot;indicator&quot;:0,&quot;role_id&quot;:1,&quot;foundTime&quot;:&quot;2018-06-04 09:50:22&quot;,&quot;investigate_fee&quot;:0,&quot;id&quot;:746,&quot;interest&quot;:0,&quot;rebate&quot;:0,&quot;hand_fee&quot;:3,&quot;emergency_fee&quot;:0,&quot;before_s_id&quot;:6,&quot;hand_fee_real&quot;:6000,&quot;repayment_way&quot;:2,&quot;adminName&quot;:&quot;周青萍&quot;,&quot;pid&quot;:1040,&quot;dptName1&quot;:&quot;业务部&quot;,&quot;other_fee&quot;:0,&quot;dptName2&quot;:&quot;深圳分公司&quot;,&quot;loanNumber&quot;:&quot;FD20180604094225167&quot;,&quot;at_id&quot;:17,&quot;term&quot;:&quot;12个月&quot;,&quot;dptName&quot;:&quot;福田业务F2组&quot;,&quot;personalId&quot;:1040,&quot;personalName&quot;:&quot;杜永庆&quot;,&quot;s_id&quot;:8,&quot;applyMoney&quot;:200000,&quot;sName&quot;:&quot;区域经理审核&quot;,&quot;foundTimeStmp&quot;:1528077022187}" value="3" class=" ">查看订单</option><!-- end ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList -->
                                </select>
                                <span class="se-po-blue"></span>
                            </div>--%>
                            <button class="edit_attach tabHint btnQuery746" data-attr="addSection" data-type="{{type}}"
                                    data-conp="{{type_name}}" data-productid="{{product_id}}" data-remarks="{{remarks}}"
                                    data-id="{{id}}" style="background: #29335C !important;">
                                修改附件
                            </button>
                            <button class="delect_attach tabHint btnQuery746" data-attr="addSection"
                                    data-type="{{type}}"
                                    data-conp="{{type_name}}" data-productid="{{product_id}}" data-remarks="{{remarks}}"
                                    data-id="{{id}}">
                                删除附件
                            </button>
                        </td>

                    </tr>
                    {{/each}}
                    <%--{{#each children}}--%>

                    <%--<tr class="tr11" data-type="true" data-has-child="false" data-focus="false">--%>
                    <%--<td></td>--%>
                    <%--<td><span class="toggle-tu"><span class="tu-1"></span><span class="tu-2"></span></span>{{name}}--%>
                    <%--</td>--%>
                    <%--<td><span ng-if="HbHr.hr207" class="_blue edit_parameter" data-attr="comSection" data-type="1"--%>
                    <%--data-type2="{{type}}" data-id="{{id}}"  data-conp="{{name}}"  data-num="{{num}}">编辑类型</span><span ng-if="HbHr.hr208"--%>
                    <%--class="second-span _red delect_parameter"--%>
                    <%--data-type="1" data-type2="{{type}}"--%>
                    <%--data-attr="remSection"--%>
                    <%--data-id="{{id}}">删除类型</span>--%>
                    <%--</td>--%>
                    <%--</tr>--%>

                    <%--{{/each}}--%>


                    </tbody>
                    <tfoot class="public-botPage">

                    <tr>


                        <td colspan="18">
                            <%--//--%>
                            <div class="public-botPage-left " style="padding-left: 15px" ng-if="operation.batch">
                                <label id="ch_id_all">
                                    &nbsp;&nbsp;&nbsp;<input id="checkAllOrNot" type="checkbox" name="ch_id_all">
                                    &nbsp;全选
                                </label>
                                <div class="se-re">
                                    <select class="supportc ng-pristine ng-untouched ng-valid ng-not-empty all_delectList"
                                            ng-model="selectType.default" ng-change="F.selectQuery('supportc','ch_id')">
                                        <option value="-1" selected="selected">批量操作</option>
                                        <option ng-if="HbHr.hr182" value="1" path="client" params="beBlack" class="">
                                            删除所选
                                        </option><!-- end ngIf: HbHr.hr182 -->
                                    </select>
                                    <span class="se-po"></span>
                                </div>

                                <button ng-if="HbHr.hr206" class=" add_attach tabHint _red" data-attr="addSection"
                                        data-type="{{type}}"
                                        data-conp="{{role_name}}"
                                        data-id="{{id}}">添加附件
                                </button>

                            </div>

                            <%--//--%>

                            <div class="page-container product-page-container"
                                 style="float: right; padding: 15px 30px;"></div>

                        </td>
                    </tr>
                    </tfoot>
                </table>
            </div>

        </script>
    </div>
</div>

<%--新增弹框--%>
<div class="winBox addwinBox" style="display: none;">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box">
        <div class="winBox2 ">
            <remarksadmin><!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan  addAndEditAttach_title">新增附件</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->

                    <div class="public-bgDate">

                        <span style="color: black;">名称：</span>


                        <span>


			<input type="text" autocomplete="off" id="inputNames" placeholder="请输入名称" ng-focus="remHight()"
                   ng-model="param.name" class="ng-pristine ng-untouched ng-valid ng-empty add_attach_name">
		</span>
                        <br> <br>
                        <%--<span  style="color: black;">所属产品：</span>--%>
                        <%--<div id="selectProductAttachment_content" style="display: inline-block"></div>--%>
                        <%--<script type="x-handlebars-template" id="selectProductAttachment_content_tpl">--%>
                        <%--<div class="se-re tdSelect edit_attach_div_select">--%>
                        <%--<select ng-options="item.ID as item.name for item in selejia2" ng-model="data.addrCity" ng-change="selectjia('b')" class="ng-pristine ng-untouched ng-valid ng-empty edit_attach_select winBox_role_select">--%>
                        <%--<option value="-1" class="" selected="selected">所属产品</option>--%>

                        <%--{{#each content.list}}--%>
                        <%--<option value="{{id}}" class="">{{product_name}}</option>--%>
                        <%--{{/each}}--%>

                        <%--</select>--%>
                        <%--<span class="se-po"></span>--%>
                        <%--</div>--%>
                        <%--</script>--%>
                        <%--<div id="selectProductAttachment_content2" style="display: inline-block"></div>--%>
                        <%--<script type="x-handlebars-template" id="selectProductAttachment_content2_tpl">--%>
                        <%--<div class="se-re tdSelect edit_attach_div_select">--%>
                        <%--<select ng-options="item.ID as item.name for item in selejia2" ng-model="data.addrCity" ng-change="selectjia('b')" class="ng-pristine ng-untouched ng-valid ng-empty winBox_role2_select">--%>
                        <%--<option value="-1" class="" selected="selected">所属节点</option>--%>
                        <%--{{#each content}}--%>
                        <%--<option value="{{id}}" class="">{{node_name}}</option>--%>
                        <%--{{/each}}--%>

                        <%--</select>--%>
                        <%--<span class="se-po"></span>--%>
                        <%--</div>--%>
                        <%--</script>--%>
                    </div>

                    <div class="beizhu newAndEditLog_content"><span style="color: red;">*</span>描述:</div>
                    <textarea class="delect_reason add_attach_text" data-tag="textLength"
                              showtag="zishuxians"></textarea>


                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="add_attach_window_commit">确定提交</button>
                        </div>
                        <div class="zishu">
                            <i id="">120</i>字
                        </div>
                    </div>
                </div>

            </remarksadmin>
        </div>
    </div>
</div>
<script type="text/javascript" src="static/js/page/set/systemSet/attachSet/attach_set.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/jquery-plugin/jpager.js?_v=190102162154"></script>
<%@ include file="../../../common/web_bottom.jsp" %>